package vboot.app.module.de.supp.cate;

import lombok.Getter;
import lombok.Setter;
import vboot.core.common.entity.BaseCateEntity;

import javax.persistence.*;

//供应商分类
@Entity
@Getter
@Setter
public class DeSuppCate extends BaseCateEntity {

    @ManyToOne(fetch= FetchType.EAGER)
    @JoinColumn(name = "pid")
    private DeSuppCate parent;//父类别

}
